/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.systemswitch.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.systemswitch.entity.SystemSwitch;
import com.jeeplus.modules.systemswitch.mapper.SystemSwitchMapper;

/**
 * systemSwitchService
 * @author 秦子洋
 * @version 2023-02-28
 */
@Service
@Transactional(readOnly = true)
public class SystemSwitchService extends CrudService<SystemSwitchMapper, SystemSwitch> {

	public SystemSwitch get(String id) {
		return super.get(id);
	}
	
	public List<SystemSwitch> findList(SystemSwitch systemSwitch) {
		return super.findList(systemSwitch);
	}
	
	public Page<SystemSwitch> findPage(Page<SystemSwitch> page, SystemSwitch systemSwitch) {
		return super.findPage(page, systemSwitch);
	}
	
	@Transactional(readOnly = false)
	public void save(SystemSwitch systemSwitch) {
		super.save(systemSwitch);
	}
	
	@Transactional(readOnly = false)
	public void delete(SystemSwitch systemSwitch) {
		super.delete(systemSwitch);
	}

	@Transactional(readOnly = false)
	public void deleteall() {
		mapper.deleteall();
	}
	
}